﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;

namespace Enities
{
    [TableName("PhieuNhap")]
    public class PhieuNhap:BaseEntity<PhieuNhap>
    {
        [MapField("MaPhieuNhap"), PrimaryKey]
        public String MaPhieuNhap { get; set; }
        [MapField("NguoiLap")]
        public String NguoiLap { get; set; }
        [MapField("NgayLap")]
        public DateTime NgayLap { get; set; }
        [MapIgnore]
        public String TotalCredit
        {
            get { return MaPhieuNhap; }
        }
    }
}
